package com.atg.atgchat.init.constant;

/*
author: atg
time: 2025/1/14 19:00
*/
public class RedisKey {
    private static final String BASE_KEY = "atgchat:chat";
    // 用户token的key
    public static final String USER_TOKEN_KEY = BASE_KEY + "userToken:uid_%d";

    public static String getKey(String key, Object... args) {
        return BASE_KEY +String.format(key, args);
    }
}
